#region Microsoft Public License
/*
 * (c) Copyright Chenjun Wu. http://utablesdk.codeplex.com
 * 
 * This source is subject to the Microsoft Public License (Ms-PL).
 * Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
 * All other rights reserved.
 */
#endregion

﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UTable.Objects;

namespace UTable.ObjectManager.Commands
{
    public interface ICommand
    {
        CommandType Type { get; }

        IObject Receiver { get; set; }

        bool Authorized { get; set; } /* TODO: need more authorization information here*/

        bool ConflictResolved { get; set; }
    }

    public enum CommandType
    {
        SYSTEM,
        OBJECT,
        CONTENT
    }
}
